<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../common.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>我的二维码</title>
<style type="text/css">
.weui_cells:before {
border:none;
}
</style>
</head>
<body ontouchstart >
<header class="contHeader">
		<div class="contOHeader" style="z-index: 1000">
			<h1>我的二维码</h1>
			<div class="contOHeadBack">
				<a href="javascript:history.go(-1);"><img
					src="${staticPath}/images/back2.png"></a>
			</div>

		</div>
	</header>
	<input type="hidden" id="url" value="${url}"/>
	<div id="background" style="background-size:100% 100%;text-align:center;">
		<img id="qrcode" alt="这是二维码" src="<%=appPath%>/dealer/getQrcode.html?content=${url}&name=${name}&loginname=${loginname}" 
			style="width:100%;height:100%;"/>
		<div class="weui_cells weui_cells_form" style="position: fixed !important; bottom: 0px; position: absolute; background-color: rgba(255, 255, 255, 0.4); width: 100%">
			<div class="weui_cells_title" style="color: #000000; padding-left: 5px;">
				<strong>网店地址：</strong>
				<p>${domain }</p>
			</div>
			<div class="weui_cells_title" style="color: #000000; padding-left: 5px;">
				<strong>APP下载：</strong>
				<p>${appUrl }</p>
			</div>
			<a href="javascript:gotoHtml('/domain/domain.html');" class="weui_btn weui_btn_primary">我的二级域名</a>
		</div>
		<div style="margin-top:20px;height:48px;display:none;">
			<p style="padding-left: 15px;line-height:30px;">分享到：</p>
			<img alt="" src="${staticPath}/images/qqhy.png" style="width: 48px; padding-left: 15px;">
			<img alt="" src="${staticPath}/images/wxhy.png" style="width: 48px; padding-left: 10px;">
			<img alt="" src="${staticPath}/images/pyq.png" style="width: 48px; padding-left: 10px;">
		</div>
	</div>
</body>
<script type="text/javascript" src="${staticPath}/js/app/center/myqrcode.js"></script>
</html>